#pragma once

#include <glibmm.h>

namespace EGlib
{
  class Win32Exception : public Glib::Exception
  {
  public:
    Win32Exception(gulong error_code);

    static Win32Exception get_last_error();

    virtual Glib::ustring what() const;

  private:
    gulong error_code;
  };
}
